#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<assert.h>
char* my_strcpy(char*p2,const char*p1) {
	assert(p2 != p1);
	char* start = p2;
	while (*p2++ = *p1++)
	{
	}
	return start;
}
int main() {
	char arr1[] = { "abcdefg" };
	char arr2[20] = { 0 };
	my_strcpy(arr2,arr1);
	printf("%s", arr2);
	return 0;
}